#! user/bin/python
# -*- coding: utf-8 -*-

"""
Created on 2021/8/24 9:24

@File: pipe-unbuff-writer.py
@Author: LT
@Description:
"""
import sys
import time

for i in range(5):
    print(time.asctime())
    sys.stdout.write('spam\n')
    time.sleep(1)
